ideogram4: support ref_latents [experimental]#1692
Draft
stduhpf wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for passing reference images to Ideogram4 DiT.
This is not officially supported, the model was likely not trained for this use case, but it can work for very basic editing tasks.
Related Issue / Discussion
#1679
(inspired by)
Comfy-Org/ComfyUI#14567
Additional Information
prompt:
{"high_level_description":"Johnny Silverhand from Cyberpunk 2077 stands outdoors, adjusting his plastic sunglasses with his prosthetic left hand under a bright blue sky.","compositional_deconstruction":{"background":"A bright, slightly hazy blue sky with thin clouds and a blurred, tall metallic power line tower in the distant background. Soft, warm sunlight streams in from the left side of the frame.","elements":[{"type":"obj","bbox":[41,392,481,610],"desc":"The head of Johnny Silverhand, a male with long, pink, curly hair parted down the middle, a trimmed pink beard, and pink mustache."},{"type":"obj","bbox":[227,458,356,583],"desc":"Pastel blue aviator sunglasses with a thick plastic frame, worn on his face."},{"type":"obj","bbox":[257,581,947,756],"desc":"A highly detailed, wooden prosthetic left arm and hand with light wood grain and visible ball joints, raised to touch his sunglasses."},{"type":"obj","bbox":[418,315,966,610],"desc":"A latex, bright pink tactical vest with thick shoulder straps and reflective, mirror panels, worn over his torso."},{"type":"obj","bbox":[439,181,775,357],"desc":"The bare, muscular right arm of the man, visible from the shoulder down to the mid forearm."}]}}ref:

output:

Checklist